CONFIG_MODULE_SIG=n
MODULE_NAME	:=multi_scull
obj-m	:=$(MODULE_NAME).o
KERNEL	:=/lib/modules/`uname -r`/build

USER	:=user_test

all:
	make -C $(KERNEL) M=`pwd` modules
	make $(USER)

install:
	@sudo dmesg -c > /dev/null
	@sudo insmod $(MODULE_NAME).ko
	@dmesg

uninstall:
	@sudo rmmod $(MODULE_NAME)
	@dmesg

clean:
	make -C $(KERNEL) M=`pwd` clean
	rm -rf $(USER)
